package com.cuitrip.util;

import android.app.Activity;
import android.content.Context;
import android.support.v4.app.FragmentActivity;

/**
 * Created by MiJack on 2015/11/9.
 */
public interface MapController{
    public static final int PLACE_PICKER_REQUEST = 2;
    public static final int TYPE_SERACH = 112;
    public static final String VALUE_TYPE = "VALUE_TYPE";

    public static final String VALUE_LAT = "VALUE_LAT";
    public static final String VALUE_LNG = "VALUE_LNG";
    public static final String VALUE_NAME = "VALUE_NAME";
    public static final String IM_RESULT = "IM_RESULT";
    //初始化地图
    void init(FragmentActivity activity,String meetingPlace,String latitude,String longtitude);
    //回调地图数据
    void onPlaceSelect(FragmentActivity activity,String meetingPlace,String latitude,String longtitude);

    void showPlace(Context context, double lat, double lng, String meetingPlace);

    void searchMap(Activity activity, String lat, String lng, String meetingPlace);
}
